/** 用户认证相关 */
import request from '@/utils/request'

// 签署入驻协议情况
export function checkAgreement() {
	return request({
		url: '/technicianapp/my.index/getSignTcpStatus',
		method: 'get'
	})
}

// 认证情况
export function authDetails(data) {
	return request({
		url: '/technicianapp/my.index/authDetails',
		method: 'post',
		data
	})
}

// 不同步骤认证情况
export function authStepsDetails(data) {
	return request({
		url: '/technicianapp/my.index/getAuthDetailsByType',
		method: 'post',
		data
	})
}

// 注册信息认证
export function registerAuth(data) {
	return request({
		url: '/technicianapp/my.index/auth',
		method: 'post',
		data
	})
}
// 真实姓名认证
export function identityAuth(data) {
	return request({
		url: '/technicianapp/my.index/setIdentity',
		// url: '/technicianapp/my.index/setIdentityByShumai', // 阿里云实名认证验证
		method: 'post',
		data
	})
}

// 基本信息认证
export function baseAuth(data) {
	return request({
		url: '/technicianapp/my.index/setData',
		method: 'post',
		data
	})
}

// 形象照认证
export function imageAuth(data) {
	return request({
		url: '/technicianapp/my.index/setVividPhotos',
		method: 'post',
		data
	})
}

// 生活圈认证
export function lifeAuth(data) {
	return request({
		url: '/technicianapp/my.index/setLiftPhotos',
		method: 'post',
		data
	})
}

// 录制视频认证
export function videoAuth(data) {
	return request({
		url: '/technicianapp/my.index/setVideo',
		method: 'post',
		data
	})
}

// 学历认证
export function educationAuth(data) {
	return request({
		url: '/technicianapp/my.index/setSchool',
		method: 'post',
		data
	})
}

// 才艺认证
export function accomplishmentAuth(data) {
	return request({
		url: '/technicianapp/my.index/setAccomplishment',
		method: 'post',
		data
	})
}

// 线下认证
export function offlineAuth(data) {
	return request({
		url: '/technicianapp/my.index/setOffline',
		method: 'post',
		data
	})
}

// 修改头像
export function avatarUpdate(data) {
	return request({
		url: '/technicianapp/my.index/setIdentityAgain',
		method: 'post',
		data
	})
}

// 获取才艺列表
export function accomplishmentList(params) {
	return request({
		url: '/technicianapp/Assist/getAccomplishmentList',
		method: 'get',
		params
	})
}

// 获取学校列表
export function schoolList(params) {
	return request({
		url: '/technicianapp/Assist/getSchoolList',
		method: 'get',
		params
	})
}

// 获取学历列表
export function educationList(params) {
	return request({
		url: '/technicianapp/Assist/getQualificationList',
		method: 'get',
		params
	})
}

// 获取胸围列表
export function bustList(params) {
	return request({
		url: '/technicianapp/Assist/getChestList',
		method: 'get',
		params
	})
}
// 获取礼仪接触列表
export function protocolList(params) {
	return request({
		url: '/technicianapp/Assist/getTouchList',
		method: 'get',
		params
	})
}
// 获取星座列表
export function constellationList(params) {
	return request({
		url: '/technicianapp/Assist/getConstellation',
		method: 'get',
		params
	})
}
// 获取喝酒列表
export function drinkList(params) {
	return request({
		url: '/technicianapp/Assist/getDrinkList',
		method: 'get',
		params
	})
}

// 获取城市列表
export function cityList(params) {
	return request({
		url: '/api/assist/getCityList',
		method: 'get',
		params
	})
}

// 获取字母排序城市列表
export function areaList(params) {
	return request({
		url: '/technicianapp/Area/getAreas',
		method: 'get',
		params
	})
}